<?php

function theme_begin_box($title)
{
	echo "<div class='box'><h3>$title</h3>";
}

function theme_end_box()
{
	echo "</div>";
}

function display_social_menu()
{
	echo '<div class="vp-social-bar">';
	echo '<ul>';
	echo '	<li><a href="javascript:window.print()" id="print">Imprimer la page</a></li>';
	echo '	<li><a href="#Photos" id="email">Partager la page</a></li>';
	echo '	<li><a id="bookmark">Ajouter aux favoris</a></li>';
	echo '	<li><a href="http://www.facebook.com/share.php?t=VarPeople&u='.EbController::$request->url.'" id="facebook">Partager sur Facebook</a></li>';
	echo '</ul>';
	echo '</div>';

	EbView::includeJQueryPlugin('bookmark');

	echo '<script type="text/javascript">$("#bookmark").jFav();</script>';
}